package com.ruoyi.eam.mapper;

import java.util.List;
import com.ruoyi.eam.doman.EamAllotD;

/**
 * 资产调拨从Mapper接口
 *
 * @author xl
 * @date 2024-07-12
 */
public interface EamAllotDMapper
{
    /**
     * 查询资产调拨从
     *
     * @param assetId 资产调拨从主键
     * @return 资产调拨从
     */
    public EamAllotD selectEamAllotDByAssetId(Long assetId);

    /**
     * 查询资产调拨从列表
     *
     * @param eamAllotD 资产调拨从
     * @return 资产调拨从集合
     */
    public List<EamAllotD> selectEamAllotDList(EamAllotD eamAllotD);

    /**
     * 新增资产调拨从
     *
     * @param eamAllotD 资产调拨从
     * @return 结果
     */
    public int insertEamAllotD(EamAllotD eamAllotD);

    /**
     * 修改资产调拨从
     *
     * @param eamAllotD 资产调拨从
     * @return 结果
     */
    public int updateEamAllotD(EamAllotD eamAllotD);

    /**
     * 删除资产调拨从
     *
     * @param assetId 资产调拨从主键
     * @return 结果
     */
    public int deleteEamAllotDByAssetId(Long assetId);

    /**
     * 批量删除资产调拨从
     *
     * @param assetIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEamAllotDByAssetIds(Long[] assetIds);
}
